
Pod::Spec.new do |s|
# ------------------ 组件基本信息段---------------------
s.name             = 'SweetCordovaKit'
s.version          = '0.1.0'
s.summary          = 'A short description of SweetCordovaKit.'
s.description      = <<-DESC
 cordova 基础库
					DESC
s.ios.deployment_target = '9.0'

# 1. Dynamic 动态库、2. Static  静态库、3. Library 三方库封装，如HPR，OpenSSL
# library_type       = "Dynamic"
#s.static_framework = true

s.author           = { '朱帅帅' => 'shuaishuai.zhu@geely.com' }
s.homepage         = 'http://git.evun.cn/ADMP-repository/SweetCordovaKit'
s.license          = { :type => 'MIT', :file => 'LICENSE' }

puts "SweetCordovaKit成果物模式集成".blue
s.source           = { :http => 'https://geely-admp-oss.oss-cn-hangzhou.aliyuncs.com/sweet-app-release/ios/SweetCordovaKit.framework-0.2.0-beta.zip'}

s.ios.vendored_framework   = 'SweetCordovaKit.framework'
s.source_files = 'SweetCordovaKit.framework/**/*.h'
s.public_header_files = 'SweetCordovaKit.framework/**/*.h'



# Weex核心库
s.dependency 'Cordova'
# 底层工具库
s.dependency 'HybridImplementKit'
s.dependency 'SweetCoreKit'
#目前指定版本
s.dependency 'AFNetworking', '~> 3.2.1'

#------------------ 组件info配置 --------------------------
s.pod_target_xcconfig  = {
	'FRAMEWORK_SEARCH_PATHS'        => '$(inherited) ${PODS_ROOT}/**',
	'LIBRARY_SEARCH_PATHS'          => '$(inherited) ${PODS_ROOT}/**',
	'ENABLE_BITCODE'                => 'NO',
	'OTHER_LDFLAGS'                 => '$(inherited) -ObjC',
	'STRINGS_FILE_OUTPUT_ENCODING'  => 'UTF-8',
	'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES'
}



end